<%@include file="/WEB-INF/taglibs/common/taglibs.jsp"%>
<ul id="submenu" parent="/serviceprovider/faq/faq_home.htm">
	<li><a href="<c:url value='/serviceprovider/faq/faq_home.htm'/>" 
		id="faqhome"><spring:message code="sp.faq.menu.supporthome" /></a></li>
	<li><a href="<c:url value='/serviceprovider/faq/faq_answer.htm'/>" onclick="enableAskQuestion();"
		id="faq_answer"><spring:message code="sp.faq.menu.answers" /></a></li>
	<li><a
		href="<c:url value="/serviceprovider/faq/my_question.htm"/>" onclick="enableAskQuestion();"
		id="my_question"><spring:message code="sp.faq.menu.myquestion" /></a></li>
	<li><a
		href="<c:url value="/serviceprovider/faq/faq_question.htm"/>" onclick="enableAskQuestion();"
		id="faq_question"><spring:message code="sp.faq.menu.askaquestion" /></a></li>
	<li><a href="<c:url value="/serviceprovider/faq/list_faq.htm"/>" onclick="enableAskQuestion();"
		id="list_faq"><spring:message code="sp.faq.menu.faq" /></a></li>

</ul>
<br />
<script language="javascript" type="text/javascript">
	var myquestVisible = "none";
	var firstTimeOpen = true;

	function enableAskQuestion() {
		if (firstTimeOpen) {
			myquestVisible = "none"
		} else {
			myquestVisible = "block";
		}
		
		document.getElementById("faq_question").style.display = myquestVisible;
		firstTimeOpen=false;
	}
</script>